<include file="public:header" />
<div class="allpagetop">站内信<strong>/</strong>修改</div>
<div class="admin_main_nr_dbox">
<div class="pagetit">
	        <div class="ptit">站内信</div>
				<div class="topnav">
			        	 <a href="{:RU('msg/add')}" <if condition="ACTION_NAME eq 'add'">class="select"</if>>添加</a>
					  <a href="{:RU('msg/lists')}" <if condition="ACTION_NAME eq 'lists'">class="select"</if>>列表</a>  
				    <div class="clear"></div>
				</div>
	        <div class="clear"></div>
	    </div>
		
		
    <div class="toptit">修改站内信</div>
  <form action="{:RU('msg/edit')}" method="post"   name="FormData" id="FormData" >
  <input name="id" type="hidden" value="{$show.id}" />
	  <div class="admin_form_main">
	  
	    <div class="fl">消息内容:</div>
		 
		<div class="fr">
		<textarea name="msg" class="input_text_default h100" cols="" rows="" placeholder="请输入消息内容">{$show.msg}</textarea>
		</div>
		<div class="fl">消息类型:</div>
		<div class="fr">
				  <div class="imgradio">
				  	<input name="systype" type="hidden" value="{$show.systype}" />
				    <div class="radio <if condition="$show.systype eq 1 "> select</if>" data="1">系统消息</div>
					<div class="radio <if condition="$show.systype eq 2 "> select</if>" data="2">注册消息</div>
					<div class="clear"></div>
				  </div>
				  
		</div>
	 

		<div class="fl">接收会员:</div>
		<div class="fr">
				  <div class="imgradio J_show_more">
				  	<input name="receiver" type="hidden" value="{$show.receiver}" />
				    <div class="radio <if condition="$show.receiver eq '1' "> select</if>" data="1">全部会员</div>
					<div class="radio <if condition="$show.receiver eq '2' "> select</if>" data="2">指定会员</div>
					<div class="clear"></div>
				  </div>
				  
		</div>
		
		<div class="moreform" <if condition="$show.receiver eq 2 ">style="display:block"</if>>
			<div class="fl">输入会员:</div>
			 
			<div class="fr">
			<textarea name="receiver_by" class="input_text_default h100" cols="" rows="" placeholder="请输入接收会员用户名，多个会员请换行">{$show.receiver_by}</textarea>
			</div>
		</div>
		 
		
		 <div class="fl"></div>
		<div class="fr">
		<input name="" type="submit" class="admin_submit "   value="保存"/>
		<input name=""  type="button" class="admin_submit "  value="返回" onclick="history.go(-1)"/>
		</div>
		
		
		
		<div class="clear"></div>
		
	  </div>
  
  
 
  
  
   
  </form>
</div>
<include file="public:footer" />
 <script type="text/javascript">
		$(document).ready(function(){
			$('.J_show_more .radio').click(function()
			{
			 
				$(".moreform").toggle();
			 
				 
			});
		});
</script>
</body>
</html>